package cn.biwysh.exam.servlet;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class zsgl extends HttpServlet {

	private static final long serialVersionUID = 1L;

	public void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException
	{
		String url="../WEB-INF/jsp/gl/tjzs.jsp";
        if(request.getParameter("page")!=null){
        	if("zslist".equals(request.getParameter("page"))){
        		url="../WEB-INF/jsp/gl/zslist.jsp";
        	}else if("zsfllist".equals(request.getParameter("page"))){
        		url="../WEB-INF/jsp/gl/zsfllist.jsp";
        	}
        }
		response.setContentType("text/html");
		RequestDispatcher requestDispatcher = request.getRequestDispatcher(url);
		requestDispatcher.forward(request, response);	
	}

    public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException
	{

		this.doGet(request, response);
	}

}
